package com.ls.component.security.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @program: central-platform
 * @author: lishuai
 * @create: 2022-02-08 18:21
 */
@ConfigurationProperties(prefix = "ls.cloud")
public class CloudSecurityProperties {
    /**
     * 是否只能通过网关获取资源
     * 默认为True
     */
    private Boolean onlyFetchByGateway = Boolean.TRUE;

    public Boolean getOnlyFetchByGateway() {
        return onlyFetchByGateway;
    }

    public void setOnlyFetchByGateway(Boolean onlyFetchByGateway) {
        this.onlyFetchByGateway = onlyFetchByGateway;
    }
}
